<?php
defined('BY_JYA') or exit('error');
global $_RQ,$_AR;
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
$return=array();
if($_RQ['op']=='get'){
	$return['item']=array();
	$voice_id='$voice_id';
	$lang='$lang';
	$return['item']['func']="cfc('jy_wxyuyin')->text($voice_id,$lang), 其中$voice_id 为录音id，$lang 为翻译语言 zh_CN或 en_US，默认中文";
	$return['htmls']=array (
		  'type' => 'edit',
		  'post' => 'post',
		  'edit_tab' => '调用方法',
		  'edits' => 
		  array (
		    0 => 
		    array (
		      'title' => '调用方法',
		      'list' => 
		      array (				
				array ('name' => 'func','type' => 'string','title' => '调用方法为','read'=>true,'help'=>'更多内容请参考官方文档：https://mp.weixin.qq.com/wiki?t=resource/res_main&id=21516712282KzWVE'),
		      ),
		    ),
		  ),
		);
	exi($return);
}
if($_RQ['op']=='post'){
	//$postdata=get_postdata();	
	//$this->save_setting($postdata);
	exi('设置成功！','','/setting/');
}
?>